package com.ruoyi.common.core.domain.entity;

import java.math.BigDecimal;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 【请填写功能名称】对象 pan_overflow_report_detail
 *
 * @author wlmes
 * @date 2023-11-24
 */
@ApiModel("【请填写功能名称】")
public class PanOverflowReportDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty("${comment}")
    private Long id;

    /** 单号 */
    @Excel(name = "单号")
    @ApiModelProperty("单号")
    private String businessNum;

    @Excel(name = "园区")
    @ApiModelProperty("园区")
    private String area;

    /** 类型 报损单/报溢单 */
    @Excel(name = "类型 报损单/报溢单")
    @ApiModelProperty("类型 报损单/报溢单")
    private String type;

    /** 数量 */
    @Excel(name = "数量")
    @ApiModelProperty("数量")
    private BigDecimal amount;

    /** 单位 */
    @Excel(name = "单位")
    @ApiModelProperty("单位")
    private String unit;

    private String name;

    private String resourceName;

    /** 库存表id */
    @Excel(name = "库存表id")
    @ApiModelProperty("库存表id")
    private Long resourceId;

    public String getResourceName() {
        return resourceName;
    }

    public void setResourceName(String resourceName) {
        this.resourceName = resourceName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setBusinessNum(String businessNum)
    {
        this.businessNum = businessNum;
    }

    public String getBusinessNum()
    {
        return businessNum;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setAmount(BigDecimal amount)
    {
        this.amount = amount;
    }

    public BigDecimal getAmount()
    {
        return amount;
    }
    public void setUnit(String unit)
    {
        this.unit = unit;
    }

    public String getUnit()
    {
        return unit;
    }
    public void setResourceId(Long resourceId)
    {
        this.resourceId = resourceId;
    }

    public Long getResourceId()
    {
        return resourceId;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "PanOverflowReportDetail{" +
                "id=" + id +
                ", businessNum='" + businessNum + '\'' +
                ", area='" + area + '\'' +
                ", type='" + type + '\'' +
                ", amount=" + amount +
                ", unit='" + unit + '\'' +
                ", name='" + name + '\'' +
                ", resourceName='" + resourceName + '\'' +
                ", resourceId=" + resourceId +
                '}';
    }
}
